<section class="" ng-init="getSingle()">
    <form ng-class="{'submitted': submitted}" ng-submit="save()">
        <div class="row">
            <div class="col-8">
                <service-main model="activedData">
                </service-main>
                <div class=" mb-3"></div>

                <div class="card">
                    <h6 class="card-header">
                        Attributes
                        <a ng-click="$ctrl.addAttr()" class="btn btn-link text-primary btn-sm float-right"><span class="fas fa-link"></span> Add Existing</a>
                        <a ng-click="$ctrl.addAttr()" class="btn btn-link text-primary btn-sm float-right"><span class="fas fa-plus"></span> Create Attribute</a>
                    </h6>
                    <div class="card-body">

                    </div>
                </div>

            </div>
            <div class="col-4">
                <actions preview-url="activedData.detailsUrl" back-url="referrerUrl"></actions>
            </div>
        </div>
    </form>
</section>